<?php

class Form_Input extends Form_Abstract implements Form_Interface
{
    public function render ()
    {
        $html .= "<label for=\"{$this->_attributes['id']}\" >{$this->_attributes['label']}</label>";
        $html .= "<input ";
        foreach ($this->_attributes as $key => $attribute) {
            $html .= $key . "=\"{$attribute}\" ";
        }
        $html .= "/>";
        return $html;
    }
}
?>